package com.bw.dao;

import com.bw.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentDao {
//    查询所有
    List<Student> findAll();
//    模糊查询
    List<Student> findLike(@Param("name") String sname);

}
